package behavioralPattern.templateMethod.example02;

import java.math.BigDecimal;

public class LoanOneMonth extends AbstractAccount{
    @Override
    BigDecimal calculate() {
        System.out.println("借款30天，有利息");
        return new BigDecimal(30.00);
    }
}
